package showtime.framework.algorithm.qtree
{
	import showtime.framework.component.pool.ObjectPool;
	
	import flash.geom.Rectangle;
	
	/** 
	 * @project DelphiFrmework
	 * @author Delphi
	 * @date 2011-6-3
	 *
	 */
	
	public class QuadTree extends QuadTreeNode
	{
		public static const nodePool:ObjectPool = new ObjectPool();
		
		/**
		 * Create a quadtree object.
		 * 
		 * @param	rect The size of root Node.
		 * @param	max Max depth.
		 */
		public function QuadTree(rect:Rectangle, max:int) {
			super(rect, 0, null, max);
		}
		
		///////////////////////////////////
		// toString
		///////////////////////////////////
		
		public override function toString():String {
			return String(QuadTree);
		}
	}
}